/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class LetterOfCreditEnum extends StringEnum
{
    public static final String ISNULL_VALUE = "0";
    public static final String BYNEGOTIATION_VALUE = "1";
    public static final String BYSIGHTPAYMENT_VALUE = "2";
    public static final String BYACCEPTANCE_VALUE = "3";
    public static final String BYDEFERREDPAYMENT_VALUE = "4";

    public static final LetterOfCreditEnum isnull = new LetterOfCreditEnum("isnull", ISNULL_VALUE);
    public static final LetterOfCreditEnum byNegotiation = new LetterOfCreditEnum("byNegotiation", BYNEGOTIATION_VALUE);
    public static final LetterOfCreditEnum bySightPayment = new LetterOfCreditEnum("bySightPayment", BYSIGHTPAYMENT_VALUE);
    public static final LetterOfCreditEnum byAcceptance = new LetterOfCreditEnum("byAcceptance", BYACCEPTANCE_VALUE);
    public static final LetterOfCreditEnum byDeferredPayment = new LetterOfCreditEnum("byDeferredPayment", BYDEFERREDPAYMENT_VALUE);

    /**
     * construct function
     * @param String letterOfCreditEnum
     */
    private LetterOfCreditEnum(String name, String letterOfCreditEnum)
    {
        super(name, letterOfCreditEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static LetterOfCreditEnum getEnum(String letterOfCreditEnum)
    {
        return (LetterOfCreditEnum)getEnum(LetterOfCreditEnum.class, letterOfCreditEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(LetterOfCreditEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(LetterOfCreditEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(LetterOfCreditEnum.class);
    }
}